server {
  listen 443 ssl;
  server_name client.fengqingzhai.com;
  access_log /var/www/logs/client.fengqingzhai.com.log combined;

  ssl_certificate /etc/nginx/cert/client.fengqingzhai.com/client.fengqingzhai.com.pem;
  ssl_certificate_key /etc/nginx/cert/client.fengqingzhai.com/client.fengqingzhai.com.key;
  ssl_session_timeout 5m;
  ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  ssl_prefer_server_ciphers on;

  location / {
	root /var/www/html/stall-client;
	index index.html index.htm;
  }
}

server {
  listen 80;
  server_name client.fengqingzhai.com;
  return 301 https://$server_name$request_uri;
}
